package model.data;

/**
 * CategoryStore.java
 * Purpose: A storage facility for category objects.
 * Methods added here should be specific to category objects.
 * 
 * @author Jan Harm Van Enk
 * @version 0.1 12/01/2012
 */

import java.util.List;

import model.Category;

public interface CategoryStore extends DataStore<Category> {

	/** Returns a product by id */
	public List<Category> getById(long id) throws Exception;
	
	/** Returns categories by name */
	public List<Category> getByName(String name) throws Exception;
}
